using System;
using System.Collections.Generic;
using System.Reflection;
using fitnesse.slim;

namespace FitNesse4Net
{
    public class DotNetSlimFactory : SlimFactory
    {
        public bool IsStopped { get; private set; }

        public override NameTranslator getMethodNameTranslator()
        {
            return new NameTranslatorIdentity();
        }

        public override StatementExecutorInterface getStatementExecutor()
        {
            return new DotNetStatementExecutor();
        }

        public override SlimServer getSlimServer(bool verbose)
        {
            return base.getSlimServer(verbose);
        }

        public override ListExecutor getListExecutor(bool verbose)
        {
            return base.getListExecutor(verbose);
        }

        public override void stop()
        {
            base.stop(); // very strange that factory get's stopped :(
            IsStopped = true;
        }
    }
}